package lab02.test12;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

public class Test {
    public static void main(String[] args) {

        Circle circle=new Circle();
        circle.raduis=1.0;
        System.out.println("圆的面积："+circle.area());
        System.out.println("圆的周长："+circle.perimeter());

        Rectangular rectangular=new Rectangular();
        rectangular.width=1.0;
        rectangular.height=2.0;
        System.out.println("矩形的面积："+rectangular.area());
        System.out.println("矩形的周长："+rectangular.perimeter());

    }
}
